home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / news / inn1.000 / inn1.4sec-linux-src.tar / inn / doc / Makefile < prev    next >
Makefile  |  1993-03-18  |  6KB  |  149 lines

  1. ##  $Revision: 1.25 $
  2. SHELL    = /bin/sh
  3. MAKE    = make
  4. ##  =()<P    = @<P>@>()=
  5. P    = 
  6.  
  7. ##  =()<MANPAGESTYLE    = @<MANPAGESTYLE>@>()=
  8. MANPAGESTYLE    = SOURCE
  9.  
  10. ##  =()<MAN1    = @<MAN1>@>()=
  11. MAN1    = /usr/local/man/man1
  12. ##  =()<MAN3    = @<MAN3>@>()=
  13. MAN3    = /usr/local/man/man3
  14. ##  =()<MAN5    = @<MAN5>@>()=
  15. MAN5    = /usr/local/man/man5
  16. ##  =()<MAN8    = @<MAN8>@>()=
  17. MAN8    = /usr/local/man/man8
  18. ##  =()<MISSING_MAN = @<MISSING_MAN>@>()=
  19. MISSING_MAN = 
  20.  
  21. ##  Edit these if you need to.  For example, add "-b .OLD" to the MANFLAGS
  22. ##  variable (without quotes).
  23. #OWNER    = -o root -g bin
  24. MANFLAGS = $(OWNER) -m 0444
  25.  
  26. ##  =()<DBZDIR    = @<DBZDIR>@>()=
  27. DBZDIR    = ../dbz
  28.  
  29. SEC1    = convdate.1 getlist.1 grephistory.1 inews.1 innconfval.1 installit.1 \
  30.     nntpget.1 rnews.1 shlock.1 shrinkfile.1 subst.1
  31. SEC3    = $(MISSING_MAN) \
  32.     clientlib.3 dbz.3 inndcomm.3 libinn.3 parsedate.3 qio.3 wildmat.3
  33. SEC5    = active.5 control.ctl.5 distrib.pats.5 expire.ctl.5 history.5 \
  34.     hosts.nntp.5 inn.conf.5 innwatch.ctl.5 moderators.5 newsfeeds.5 \
  35.     newslog.5 nnrp.access.5 nntpsend.ctl.5 overview.fmt.5 passwd.nntp.5
  36. SEC8    = archive.8 batcher.8 buffchan.8 ctlinnd.8 cvtbatch.8 expire.8 \
  37.     expireover.8 fastrm.8 filechan.8 innd.8 innxmit.8 news-recovery.8 \
  38.     news.daily.8 nnrpd.8 nntpsend.8 overchan.8 prunehistory.8
  39.  
  40. ALL    = $(SEC1) $(SEC3) $(SEC5) $(SEC8)
  41.  
  42. all:        $(P) $(ALL)
  43.  
  44. install:    install-man1 install-man3 install-man5 install-man8
  45.  
  46. install-man1:   $(MAN1)/convdate.1 $(MAN1)/getlist.1 $(MAN1)/grephistory.1 \
  47.         $(MAN1)/inews.1 $(MAN1)/innconfval.1 $(MAN1)/installit.1 \
  48.         $(MAN1)/nntpget.1 $(MAN1)/rnews.1 $(MAN1)/shlock.1 \
  49.         $(MAN1)/shrinkfile.1 $(MAN1)/subst.1
  50. install-man3:    $(MAN3)/clientlib.3 $(MAN3)/dbz.3 $(MAN3)/inndcomm.3 \
  51.         $(MAN3)/libinn.3 $(MAN3)/parsedate.3 $(MAN3)/qio.3 \
  52.         $(MAN3)/wildmat.3
  53. install-man5:    $(MAN5)/active.5 $(MAN5)/control.ctl.5 $(MAN5)/distrib.pats.5 \
  54.         $(MAN5)/expire.ctl.5 $(MAN5)/history.5 $(MAN5)/hosts.nntp.5 \
  55.         $(MAN5)/inn.conf.5 $(MAN5)/innwatch.ctl.5 $(MAN5)/moderators.5 \
  56.         $(MAN5)/newsfeeds.5 $(MAN5)/newslog.5 $(MAN5)/nnrp.access.5 \
  57.         $(MAN5)/nntpsend.ctl.5 $(MAN5)/overview.fmt.5 \
  58.         $(MAN5)/passwd.nntp.5
  59. install-man8:    $(MAN8)/archive.8 $(MAN8)/batcher.8 $(MAN8)/buffchan.8 \
  60.         $(MAN8)/ctlinnd.8 $(MAN8)/cvtbatch.8 $(MAN8)/expire.8 \
  61.         $(MAN8)/expireover.8 $(MAN8)/fastrm.8 $(MAN8)/filechan.8 \
  62.         $(MAN8)/innd.8 $(MAN8)/innxmit.8 $(MAN8)/news-recovery.8 \
  63.         $(MAN8)/news.daily.8 $(MAN8)/newslog.8 $(MAN8)/nnrpd.8 \
  64.         $(MAN8)/nntpsend.8 $(MAN8)/overchan.8 $(MAN8)/prunehistory.8
  65.  
  66. clobber clean:
  67.     rm -f dbz.3
  68.     rm -f all install lint profiled
  69.  
  70. tags ctags:
  71.     cp /dev/null tags
  72.  
  73. ##  Checknr dies on some systems.
  74. lint:        $(P) $(ALL)
  75.     @rm -f lint
  76.     -checknr -c.BI.IR.IB.RI.BR.SS.UC    $(SEC1)  >lint
  77.     -checknr -c.BI.IR.IB.RI.BR.SS.UC.BY $(SEC3) >>lint
  78.     -checknr -c.BI.IR.IB.RI.BR.SS.UC    $(SEC5) >>lint
  79.     -checknr -c.BI.IR.IB.RI.BR.SS.UC    $(SEC8) >>lint
  80.  
  81. profiled:
  82.     cp /dev/null profiled
  83.  
  84. dbz.3:        $(DBZDIR)/dbz.3z
  85.     @rm -f dbz.3
  86.     cat $(DBZDIR)/dbz.3z >dbz.3
  87.  
  88. .PRECIOUS:    $(ALL)
  89.  
  90. ##  Low-level install actions.
  91. COPY    = $(SHELL) ./putman.sh $(MANPAGESTYLE) "$(MANFLAGS)"
  92. $(MAN1)/convdate.1:    convdate.1    ; $(COPY) $? $@
  93. $(MAN1)/getlist.1:    getlist.1    ; $(COPY) $? $@
  94. $(MAN1)/grephistory.1:    grephistory.1    ; $(COPY) $? $@
  95. $(MAN1)/inews.1:    inews.1        ; $(COPY) $? $@
  96. $(MAN1)/innconfval.1:    innconfval.1    ; $(COPY) $? $@
  97. $(MAN1)/installit.1:    installit.1    ; $(COPY) $? $@
  98. $(MAN1)/nntpget.1:    nntpget.1    ; $(COPY) $? $@
  99. $(MAN1)/rnews.1:    rnews.1        ; $(COPY) $? $@
  100. $(MAN1)/shlock.1:    shlock.1    ; $(COPY) $? $@
  101. $(MAN1)/shrinkfile.1:    shrinkfile.1    ; $(COPY) $? $@
  102. $(MAN1)/subst.1:    subst.1        ; $(COPY) $? $@
  103. $(MAN3)/clientlib.3:    clientlib.3    ; $(COPY) $? $@
  104. $(MAN3)/dbz.3:        dbz.3        ; $(COPY) $? $@
  105. $(MAN3)/inndcomm.3:    inndcomm.3    ; $(COPY) $? $@
  106. $(MAN3)/libinn.3:    libinn.3    ; $(COPY) $? $@
  107. $(MAN3)/parsedate.3:    parsedate.3    ; $(COPY) $? $@
  108. $(MAN3)/qio.3:        qio.3        ; $(COPY) $? $@
  109. $(MAN3)/wildmat.3:    wildmat.3    ; $(COPY) $? $@
  110. $(MAN5)/active.5:    active.5    ; $(COPY) $? $@
  111. $(MAN5)/control.ctl.5:    control.ctl.5    ; $(COPY) $? $@
  112. $(MAN5)/distrib.pats.5:    distrib.pats.5    ; $(COPY) $? $@
  113. $(MAN5)/expire.ctl.5:    expire.ctl.5    ; $(COPY) $? $@
  114. $(MAN5)/history.5:    history.5    ; $(COPY) $? $@
  115. $(MAN5)/hosts.nntp.5:    hosts.nntp.5    ; $(COPY) $? $@
  116. $(MAN5)/inn.conf.5:    inn.conf.5    ; $(COPY) $? $@
  117. $(MAN5)/innwatch.ctl.5:    innwatch.ctl.5    ; $(COPY) $? $@
  118. $(MAN5)/moderators.5:    moderators.5    ; $(COPY) $? $@
  119. $(MAN5)/newsfeeds.5:    newsfeeds.5    ; $(COPY) $? $@
  120. $(MAN5)/newslog.5:    newslog.5    ; $(COPY) $? $@
  121. $(MAN5)/nnrp.access.5:    nnrp.access.5    ; $(COPY) $? $@
  122. $(MAN5)/nntpsend.ctl.5:    nntpsend.ctl.5    ; $(COPY) $? $@
  123. $(MAN5)/overview.fmt.5:    overview.fmt.5    ; $(COPY) $? $@
  124. $(MAN5)/passwd.nntp.5:    passwd.nntp.5    ; $(COPY) $? $@
  125. $(MAN8)/archive.8:    archive.8    ; $(COPY) $? $@
  126. $(MAN8)/batcher.8:    batcher.8    ; $(COPY) $? $@
  127. $(MAN8)/buffchan.8:    buffchan.8    ; $(COPY) $? $@
  128. $(MAN8)/ctlinnd.8:    ctlinnd.8    ; $(COPY) $? $@
  129. $(MAN8)/cvtbatch.8:    cvtbatch.8    ; $(COPY) $? $@
  130. $(MAN8)/expire.8:    expire.8    ; $(COPY) $? $@
  131. $(MAN8)/expireover.8:    expireover.8    ; $(COPY) $? $@
  132. $(MAN8)/fastrm.8:    fastrm.8    ; $(COPY) $? $@
  133. $(MAN8)/filechan.8:    filechan.8    ; $(COPY) $? $@
  134. $(MAN8)/innd.8:        innd.8        ; $(COPY) $? $@
  135. $(MAN8)/innxmit.8:    innxmit.8    ; $(COPY) $? $@
  136. $(MAN8)/news-recovery.8: news-recovery.8 ; $(COPY) $? $@
  137. $(MAN8)/news.daily.8:    news.daily.8    ; $(COPY) $? $@
  138. $(MAN8)/newslog.8:    newslog.8    ; $(COPY) $? $@
  139. $(MAN8)/nnrpd.8:    nnrpd.8        ; $(COPY) $? $@
  140. $(MAN8)/nntpsend.8:    nntpsend.8    ; $(COPY) $? $@
  141. $(MAN8)/overchan.8:    overchan.8    ; $(COPY) $? $@
  142. $(MAN8)/prunehistory.8:    prunehistory.8    ; $(COPY) $? $@
  143.  
  144. ##  Dependencies.  Default list, below, is probably good enough.
  145. depend:        Makefile $(SOURCES)
  146.     makedepend $(DEFS) $(SOURCES)
  147.  
  148. # DO NOT DELETE THIS LINE -- make depend depends on it.
  149.